package ch.ti.bfh.app.loodel.service.create;

import ch.ti.bfh.app.loodel.service.LearningEventInvitationData;
import ch.ti.bfh.app.loodel.service.MemberData;
import org.springframework.security.access.annotation.Secured;

import java.util.List;

@Secured({"ROLE_USER"})
public interface CreateLearningEventService {

    String createNewLearningEvent(CreateLearningEventData createLearningEventData);

    String createNewLearningEventAndSendInvitation(CreateLearningEventData createLearningEventData, LearningEventInvitationData learningEventInvitationData);

    ShowTimeSlotLocationData getTimeSlotLocationData(Long timeSlotId);

    List<MemberData> findMemberDataForInvitation(String queryTerm);

    MemberData getMemberDataForInvitation(String email);

    String getInvitationDefaultText(CreateLearningEventData createLearningEventData, String customText);

}
